<?php

declare(strict_types=1);

use Hyperf\Database\Seeders\Seeder;
use Plugin\Attractions\Inspection\Constant;
use Plugin\Attractions\Inspection\Model\Inspection_device_types\InspectionDeviceTypes;

class InitInspectionDeviceTypeSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        InspectionDeviceTypes::truncate();
        InspectionDeviceTypes::insert(Constant::DEFAULT_DEVICE_TYPES);
    }
}